package cc.rengu.redp.bizimpl.upmp.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author 刘玉亮.LL
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_B_PROFIT_CONF_INFO")
@ApiModel(value = "ProfitConfInfo对象", description = "")
public class ProfitConfInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "分润配置唯一标识")
    @TableField("PROFIT_PRIMARY_KEY")
    private String profitPrimaryKey;

    @ApiModelProperty(value = "多法人总行机构标识")
    @TableField("INST_ID")
    private String instId;

    @ApiModelProperty(value = "分润类型")
    @TableField("PROFIT_TYPE")
    private String profitType;

    @ApiModelProperty(value = "关联业务编码")
    @TableField("BIZ_CODE")
    private String bizCode;

    @ApiModelProperty(value = "业务产品代码")
    @TableField("BIZ_PROD_CODE")
    private String bizProdCode;

    @ApiModelProperty(value = "子业务类型")
    @TableField("SUB_PROD_TYPE")
    private String subProdType;

    @ApiModelProperty(value = "通道类型")
    @TableField("DST_CHANNEL_TYPE")
    private String dstChannelType;

    @ApiModelProperty(value = "分润模式")
    @TableField("PROFIT_INPUT_MODE")
    private String profitInputMode;

    @ApiModelProperty(value = "成本费率值")
    @TableField("COST_FEE_RATE")
    private String costFeeRate;

    @ApiModelProperty(value = "成本封顶金额")
    @TableField("COST_CAPPING_AMT")
    private String costCappingAmt;

    @ApiModelProperty(value = "固定金额分段序号")
    @TableField("PROFIT_FIXED_INDEX")
    private Integer profitFixedIndex;

    @ApiModelProperty(value = "固定金额分段起始值")
    @TableField("PROFIT_FIXED_START")
    private String profitFixedStart;

    @ApiModelProperty(value = "固定金额分段截止值")
    @TableField("PROFIT_FIXED_END")
    private String profitFixedEnd;

    @ApiModelProperty(value = "固定金额值")
    @TableField("PROFIT_FIXED_AMT")
    private String profitFixedAmt;

    @ApiModelProperty(value = "分润比例")
    @TableField("PROFIT_SCALE")
    private String profitScale;

    @ApiModelProperty(value = "分润封顶金额")
    @TableField("PROFIT_CAPPING_AMT")
    private String profitCappingAmt;

    @ApiModelProperty(value = "费率生效日期")
    @TableField("PROFIT_EFFECTIVE_DATE")
    private String profitEffectiveDate;

    @ApiModelProperty(value = "费率失效日期")
    @TableField("PROFIT_EXPIRY_DATE")
    private String profitExpiryDate;

    @ApiModelProperty(value = "分润配置状态")
    @TableField("PROFIT_STATUS")
    private String profitStatus;

    @ApiModelProperty(value = "审批状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "创建机构")
    @TableField("CRT_ORG_ID")
    private String crtOrgId;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间戳")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间戳")
    @TableField("LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后审核人")
    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @ApiModelProperty(value = "最后审核时间")
    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;

    @ApiModelProperty(value = "备用字段1")
    @TableField("REMARK1")
    private String remark1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("REMARK2")
    private String remark2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("REMARK3")
    private String remark3;

    @ApiModelProperty(value = "备用字段4")
    @TableField("REMARK4")
    private String remark4;

    @ApiModelProperty(value = "备用字段5")
    @TableField("REMARK5")
    private String remark5;

    @TableField(exist = false)
    private String profitFixedIndexS;
}
